{namespace lfe=SGalinski\Lfeditor\ViewHelpers}
{namespace core=TYPO3\CMS\Core\ViewHelpers}

<f:layout name="Default" />

<f:section name="selectItems">
	<f:render partial="SelectExtensionAndLanguageFile" arguments="{_all}" />
	<div class="row">
		<f:form id="mainMenuForm" action="changeSelection">
			<f:render partial="SelectConstant" arguments="{_all}" />
		</f:form>
	</div>
</f:section>

<f:section name="main">
	<f:if condition="{extensionSelection} && {languageFileSelection} && {constantSelection} && {constantSelection} != '###default###'">
		<div class="panel panel-default">
			<div class="panel-heading">
				<f:translate key="function.const.delete.delete" />
			</div>
			<div class="panel-body">
				<f:form id="contentForm" action="deleteConstantSave">
					<f:translate key="function.const.delete.question" />
					<p class="tx-lfeditor-delConst">{constantSelection}</p>
					<button class="btn btn-default" onclick="document.getElementById('contentForm').submit();">
						<f:translate key="button.delete" />
						<core:icon identifier="actions-delete" />
					</button>
				</f:form>
			</div>
		</div>
	</f:if>
</f:section>


<f:section name="ButtonBarLeft">
</f:section>
